<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../package/vue/dist/vue.js"></script>
</head>

<body>
    <div id="demo">
        <tem><template v-slot:person>1111</template>1111</tem>
    </div>
    <script>
        const tem = Vue.extend({
            template: "<h2><slot></slot>222<slot name='person'></slot></h2>"
        })
        new Vue({
            el: "#demo",
            data: {
                person: "person"
            },
            components: {
                tem
            }
        })
    </script>
</body>

</html>